package com.wsx.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wsx.entity.Category;
import org.apache.ibatis.annotations.Mapper;

public interface CategoryMapper extends BaseMapper<Category> {
    //添加分类
    int insertCategory(Category category);

    //根据id修改分类
    int updateByCategory(Category category);
}